package org.alis.smallcc.designpatterns.structural.decorator;

/**
 * 
 * 
 * @author luochuan
 */
public class ComputerDecorator implements IComputer {
	private IComputer computer;

	public ComputerDecorator(IComputer computer) {
		this.computer = computer;
	}

	@Override
	public String desc() {
		return computer.desc();
	}

	@Override
	public Integer count() {
		return computer.count();
	}

	@Override
	public IComputer addHardware(Hardware hardware) {
		computer.addHardware(hardware);
		return this;
	}
	
	
	
	
}
